home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-k-archive.past
/
1994.12.gz
/
1994.12
/
000059_evans@optilink.dsccc.com_Wed Dec 14 20:13:33 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-12-30
|
3KB
Received: from relay3.UU.NET by cs.umb.edu with SMTP id AA25826
(5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 14 Dec 1994 20:13:33 -0500
Received: from offramp.dsccc.com by relay3.UU.NET with SMTP
id QQxuhw25576; Wed, 14 Dec 1994 20:13:32 -0500
Received: by offramp.dsccc.com (5.67b/SMI-V1.8)
id AA09626; Wed, 14 Dec 1994 19:14:16 -0600
Received: from onramp(192.245.102.129) by offramp via smap (V1.3mjr)
id sma009615; Wed Dec 14 19:13:56 1994
Received: from optilink.dsccc.com
by camelot.dsccc.com (5.65c/SMI-V1.8)
id AA03317; Wed, 14 Dec 1994 19:14:14 -0600
Received: from unknown (toronto) by optilink.dsccc.com (4.1/SMI-4.0)
id AA13136; Wed, 14 Dec 94 17:12:51 PST
From: evans@optilink.dsccc.com (Dave Evans)
Message-Id: <9412150112.AA13136@optilink.dsccc.com>
Subject: dvipsk (kpathsea) bug report
To: tex-k@cs.umb.edu
Date: Wed, 14 Dec 94 17:10:19 "PST
Mailer: Elm [revision: 70.85]
Wed Dec 14 16:50:38 1994 Dave Evans (evans@optilink.dsccc.com)
dvipsk bug report:
* version 5.58c
* tex-make.c (set_maketex_mag): Negative magstep wasn't handled
correctly. Negative magsteps are used when the font size is
being reduced. I ran across this (apparently for the first
time) when using 2up.tex in Timothy Van Zandt's seminar.sty
LaTeX package.
I have taken the liberty to include a patch file (from gnu diff -cp)
which fixes the problem for me.
Best regards, and thanks for all your efforts.
Dave.
------- patch starts here --------------------------
*** tex-make.c Wed Dec 14 16:20:40 1994
--- tex-make.c.fixed Wed Dec 14 16:20:58 1994
*************** set_maketex_mag P1H(void)
*** 60,66 ****
else
/* m is encoded with LSB being a ``half'' bit (see magstep.h). Are
we making an assumption here about two's complement? Probably. */
! sprintf (q, "magstep\\(%d.%d\\)", m / 2, (m & 1) * 5);
xputenv ("MAKETEX_MAG", q);
}
--- 60,75 ----
else
/* m is encoded with LSB being a ``half'' bit (see magstep.h). Are
we making an assumption here about two's complement? Probably. */
!
! /* %%%
! Sorry 'bout that; for m = -1, for example, we get m/2 = 0, so
! that magstep 0.5 is generated. Actually it should be -0.5.
! The following "minor correction" generates the right size for
! negative m (i.e. font reduction).
! Dave Evans --- 12/14/94
! */
!
! sprintf (q, "magstep\\(%s%d.%d\\)", (m<0)?"-":"", m / 2, (m & 1) * 5);
xputenv ("MAKETEX_MAG", q);
}
------- this is the end of the patch ---------------